// # 在ui组件connect中完成数据的获取

import { connect } from 'react-redux'
import * as action from '@/store/action/cookbookAction'
// 数据是immutable，先getIn一下，还是immutable，再toJS，返回的就是普通的js了
export default connect(state => state.getIn(['cookbookReducer']).toJS(), action)